.class Lcom/example/m6shop/DishesActivity22$2$1;
.super Ljava/lang/Object;
.source "DishesActivity22.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/DishesActivity22$2;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6shop/DishesActivity22$2;


# direct methods
.method constructor <init>(Lcom/example/m6shop/DishesActivity22$2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    .line 312
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 316
    iget-object v1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v1

    # getter for: Lcom/example/m6shop/DishesActivity22;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22;->access$27(Lcom/example/m6shop/DishesActivity22;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const-string v2, "cart"

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "shopid = \'"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v4}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v4

    iget-object v4, v4, Lcom/example/m6shop/DishesActivity22;->shopid:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\'"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v1, v2, v3, v4}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 318
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 319
    .local v0, "msg":Landroid/os/Message;
    const/16 v1, 0x19

    iput v1, v0, Landroid/os/Message;->arg1:I

    .line 322
    iget-object v1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v1

    # getter for: Lcom/example/m6shop/DishesActivity22;->tv_num:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22;->access$8(Lcom/example/m6shop/DishesActivity22;)Landroid/widget/TextView;

    move-result-object v1

    const-string v2, "0"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 323
    iget-object v1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v1

    # getter for: Lcom/example/m6shop/DishesActivity22;->tv_count:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22;->access$0(Lcom/example/m6shop/DishesActivity22;)Landroid/widget/TextView;

    move-result-object v1

    const-string v2, "0"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 324
    iget-object v1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v1

    # getter for: Lcom/example/m6shop/DishesActivity22;->tv_total:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22;->access$28(Lcom/example/m6shop/DishesActivity22;)Landroid/widget/TextView;

    move-result-object v1

    const-string v2, "0"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 326
    iget-object v1, p0, Lcom/example/m6shop/DishesActivity22$2$1;->this$1:Lcom/example/m6shop/DishesActivity22$2;

    # getter for: Lcom/example/m6shop/DishesActivity22$2;->this$0:Lcom/example/m6shop/DishesActivity22;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22$2;->access$0(Lcom/example/m6shop/DishesActivity22$2;)Lcom/example/m6shop/DishesActivity22;

    move-result-object v1

    # getter for: Lcom/example/m6shop/DishesActivity22;->list:Landroid/widget/ListView;
    invoke-static {v1}, Lcom/example/m6shop/DishesActivity22;->access$24(Lcom/example/m6shop/DishesActivity22;)Landroid/widget/ListView;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setVisibility(I)V

    .line 327
    return-void
.end method
